<!DOCTYPE html>
<html>

<head>
    <meta name="layout" content="main2"/>
    <g:set var="entityName" value="${message(code: 'task.label', default: 'task')}"/>
    <title>项目详情</title>
</head>

<body>

<div class="main-body">
    <div class="page-wrapper">
        <!-- Page-header start -->
        <div class="page-header">
            <div class="page-header-title">
                <h4>工单详情</h4>
            </div>

            <div class="page-header-breadcrumb">
                <ul class="breadcrumb-title">
                    <li class="breadcrumb-item">
                        <a href="/salesDashboard/index">
                            <i class="icofont icofont-home"></i>
                        </a>
                    </li>
                    <li class="breadcrumb-item">
                          <g:link controller="activity" action="show" id="${this.task?.activity?.id}">任务信息</g:link>
                    </li>
                    <li class="breadcrumb-item"><a href="#!">${this.task?.name}</a>
                    </li>
                </ul>
            </div>
        </div>
        <!-- Page-header end -->
        <!-- Page-body start -->
        <div class="page-body">
          <g:if test="${flash.message}">
              <div class="message alert alert-info" role="status">${flash.message}
                  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                      <span aria-hidden="true">×</span></button>
              </div>
          </g:if>

            <!-- Hover table card start -->
            <div class="card">
                <div class="card-header">
                    <h5>工单：${this.task?.name}</h5>

                    <div class="card-header-right">

                      
                    </div>
                </div>

                <div class="card-block">
                    <div class="form-group row">
                        <label class="col-md-2 col-form-label">名称</label>

                        <div class="col-md-3">
                            <span class="cont">${this.task?.name}</span>
                        </div>
                        <label class="col-md-2 col-form-label">进展</label>

                        <div class="col-md-3">
                            <span class="cont">${this.task?.progress}</span>

                        </div>
                    </div>

                    <div class="form-group row">

                        <label class="col-md-2 col-form-label">所有者</label>

                        <div class="col-md-3">
                            <span class="cont">${this.task?.user}</span>

                        </div>
                    </div>



                    <div class="form-group row">
                        <label class="col-md-2 col-form-label">描述</label>

                        <div class="col-md-8">
                            <div class="form-control-static">${this.task?.description}</div>
                        </div>
                    </div>
                </div>
                <!-- Hover table card end -->
            </div>


            <!-- Page-body end -->

        </div>
    </div>

</body>

</html>
